Another, simpler implementation of the modulo (%) operator. Back to original implementation

Works by repeatedly subtracting or adding by b to a depending on the current a-value.

Result: